<div class="box box-success box-solid">
    <div class="box-header with-border">
        <h3 class="box-title">常用资料</h3>

        <div class="box-tools pull-right">
            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
            </button>
            <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
        </div>
    </div>

    <!-- /.box-header -->
    <div class="box-body documents">
        <div class="table-responsive">
            <table class="table table-striped">
                @foreach($documents as $document)
                    <tr>
                        <td style="padding: 4px">
                            <a href="{{$document->fileUrl()}}"  target="_blank">
                                <i class="fa fa-download"></i>{{ $document->name }}
                            </a>
                        </td>
                    </tr>
                @endforeach
            </table>
        </div>
    </div>
</div>

<script>
    $('.documents').slimscroll({height: '{{data_get($config,"height","300px")}}', size: '{{data_get($config,"size","3px")}}'});
</script>
